package com.qys.livesMall.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.common.result.R;
import com.qys.livesMall.shop.modal.dto.ShopReturnAuditDTO;
import com.qys.livesMall.shop.modal.dto.ShopReturnDTO;
import com.qys.livesMall.shop.modal.entity.ShopGoodsSku;
import com.qys.livesMall.shop.modal.entity.ShopReturnApproved;
import com.qys.livesMall.shop.modal.entity.ShopReturnPurchase;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gmx
 * @since 2023-06-08
 */
public interface ShopReturnPurchaseService extends IService<ShopReturnPurchase> {

    R applyFor(ShopReturnDTO shopReturnDTO);

    /**
     * 审核通过
     * @param auditDTO
     * @return
     */
    R auditPass(ShopReturnAuditDTO auditDTO);

    /**
     * 审核不通过
     * @param auditDTO
     * @return
     */
    R auditNoPass(ShopReturnAuditDTO auditDTO);

}
